<template>
  <div class="custom-style">
    <el-row :gutter="20">
      <el-col :span="24">
        <el-segmented v-model="value" :options="options" size="large" style="margin-bottom: var(--el-margin)" />
      </el-col>
      <el-col :span="24">
        <el-segmented v-model="value" :options="options" size="default" style="margin-bottom: var(--el-margin)" />
      </el-col>
      <el-col :span="24">
        <el-segmented v-model="value" :options="options" size="small" />
      </el-col>
    </el-row>
  </div>
</template>
<script lang="ts" setup>
const value = ref<string>('周一')
const options = ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
</script>

<style scoped>
.custom-style .el-segmented {
  --el-border-radius-base: 99px;
}
</style>
